package com.pf.mapper.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/8/14
 */
@TableName(value = "log_info_table")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LogInfo extends BaseEntity {

    /**
     * 日志id
     */
    @TableId(value = "log_id")
    private String logId;

    /**
     * 任务id
     */
    private String jobId;

    /**
     * 任务执行状态 0-成功 1-失败
     */
    private Integer executeStatus;

    /**
     * 任务执行时间
     */
    private Date executeDate;

    /**
     * 错误日志信息
     */
    private String errorLog;
}
